package com.opgea.tutor.util;

import java.util.List;

public class ApplicationUtil {

    public static Object findObject(Object object, List<?> objectList) {
	if (objectList != null && objectList.size() > 0
		&& objectList.indexOf(object) >= 0) {
	    int index = objectList.indexOf(object);
	    object = objectList.get(index);
	}
	return object;
    }
}
